package com.niuwa.p2p.vo.productTemplate;

import java.io.Serializable;
import java.util.Date;

/**
 * 借款模板
 * @author cuijiajia
 *
 */
public class ProjectProdTmptForm implements Serializable {

	private static final long serialVersionUID = 5823074103204348138L;

	// *******************************
	// * 产品模板-基本信息
	// *******************************
	// 模板Id
	private long tempId;

	// 模板编号
	private String tempCode;

	// 模板名称
	private String tempName;

	// 主版本号，主版本号默认为1
	private String mainVersion = "1";

	// 小版本号，小版本号默认为0
	private String minorVersion = "0";

	// 生效时间
	private Date activeTime;

	// *******************************
	// * 产品模板-产品属性，
	// TODO
	// 1、增加产品属性一定要在p2p_product_property表中增加记录，prop_code必须保持与页面上标签的ID和Name保持一致，如:PROP_NAME
	// 2、设置类型必须以 SETYPE_ 开头 + 属性名称 ，如：SETYPE_PROP_NAME 否则获取不到前端的数据
	// *******************************

	//借款模板类型
	private String PRJ_TEMP_TYPE;
	
	//借款模板类型-设置类型
	private String SETYPE_PRJ_TEMP_TYPE;
		
	//借款利率(%)
	private String INTEREST_RATE;
	
	//借款利率(%)-设置类型
	private String SETYPE_INTEREST_RATE;
	
	//是否允许提前还款
	private String ALLOW_EARLY_REPAY;
	
	//是否允许提前还款-设置类型
	private String SETYPE_ALLOW_EARLY_REPAY;
	
	//最少借款额度(元)
	private String MIN_LOAN_AMOUNT;
	
	//最少借款额度(元)-设置类型
	private String SETYPE_MIN_LOAN_AMOUNT;
	
	//最多借款额度(元) 
	private String MAX_LOAN_AMOUNT;
	
	//最多借款额度(元)-设置类型
	private String SETYPE_MAX_LOAN_AMOUNT;
	
	//还款方式
	private String REPAY_METHOD;
	
	//还款方式-设置类型
	private String SETYPE_REPAY_METHOD;
	
	//借款服务费率
	private String INVEST_SERVICE_FEE;
	
	//借款服务费率-设置类型
	private String SETYPE_INVEST_SERVICE_FEE;
	
	//借款服务费率最低天数
	private String INVEST_SERVICE_DAYS;
	
	//借款服务费的收取时点
	private String GATHER_FEE_POINT;
	
	//借款服务费的收取时点-设置类型
	private String SETYPE_GATHER_FEE_POINT;
	
	//提前还款手续费率(%)
	private String EARLY_PAY_RATE;
	
	//提前还款手续费率(%)-设置类型
	private String SETYPE_EARLY_PAY_RATE;
	
	//借款期限
	private String LOAN_TERM;
	
	//借款期限-设置类型
	private String SETYPE_LOAN_TERM;
	
	//借款期限单位
	private String TIME_TYPE;
	
	//借款期限单位-设置类型
	private String SETYPE_TIME_TYPE;
	
	//逾期管理服务费类型
	private String OVERDUE_RATE_TYPE;
	
	//逾期管理服务费类型-设置类型
	private String SETYPE_OVERDUE_RATE;
	
	//逾期管理服务费率
	private String OVERDUE_RATE;
	
	//资金垫付服务费率
	private String ACCOUNT_PAYMENT_FEE;
	
	//资金垫付服务费率-设置类型
	private String SETYPE_ACCOUNT_PAYMENT_FEE;
	
	//还款类型
	private String REPAY_TYPE;
	
	//还款类型-设置类型
	private String SETYPE_REPAY_TYPE;
	
	//保障公司
	private String GUARANTEE_NAME;
	
	//保障公司-设置类型
	private String SETYPE_GUARANTEE_NAME;
	
	//保障费率
	private String GUARANTEE_RATE;
	
	//保障费率-设置类型
	private String SETYPE_GUARANTEE_RATE;
	
	//保障方式
	private String GUARANTEE_METHOD;
	
	//保障方式-设置类型
	private String SETYPE_GUARANTEE_METHOD;
	
	//回购条件类型
	private String REPURCHASE_TYPE;
	
	//回购条件-设置类型
	private String SETYPE_REPURCHASE;
	
	//回购天数
	private String REPURCHASE_DAYS;
	
	//区间
	//private String AREA_RATE_TYPE;
	
	
	// *******************************
	// * 产品模板-协议信息
	// *******************************
	private String[] protId;
	
	
	private String[] startCond;

	private String[] endCond;

	private String[] areaValue;

	private String areaUnitType; // 区间单位类型

	private String areaUnitValue; // 区间单位值


	public String[] getStartCond() {
		return startCond;
	}


	public void setStartCond(String[] startCond) {
		this.startCond = startCond;
	}


	public String[] getEndCond() {
		return endCond;
	}


	public void setEndCond(String[] endCond) {
		this.endCond = endCond;
	}


	public String[] getAreaValue() {
		return areaValue;
	}


	public void setAreaValue(String[] areaValue) {
		this.areaValue = areaValue;
	}


	public String getAreaUnitType() {
		return areaUnitType;
	}


	public void setAreaUnitType(String areaUnitType) {
		this.areaUnitType = areaUnitType;
	}


	public String getAreaUnitValue() {
		return areaUnitValue;
	}


	public void setAreaUnitValue(String areaUnitValue) {
		this.areaUnitValue = areaUnitValue;
	}


	public long getTempId() {
		return tempId;
	}


	public void setTempId(long tempId) {
		this.tempId = tempId;
	}


	public String getTempCode() {
		return tempCode;
	}


	public void setTempCode(String tempCode) {
		this.tempCode = tempCode;
	}


	public String getTempName() {
		return tempName;
	}


	public void setTempName(String tempName) {
		this.tempName = tempName;
	}


	public String getMainVersion() {
		return mainVersion;
	}


	public void setMainVersion(String mainVersion) {
		this.mainVersion = mainVersion;
	}


	public String getMinorVersion() {
		return minorVersion;
	}


	public void setMinorVersion(String minorVersion) {
		this.minorVersion = minorVersion;
	}


	public Date getActiveTime() {
		return activeTime;
	}


	public void setActiveTime(Date activeTime) {
		this.activeTime = activeTime;
	}


	public String getINTEREST_RATE() {
		return INTEREST_RATE;
	}


	public void setINTEREST_RATE(String iNTEREST_RATE) {
		INTEREST_RATE = iNTEREST_RATE;
	}


	public String getALLOW_EARLY_REPAY() {
		return ALLOW_EARLY_REPAY;
	}


	public void setALLOW_EARLY_REPAY(String aLLOW_EARLY_REPAY) {
		ALLOW_EARLY_REPAY = aLLOW_EARLY_REPAY;
	}


	public String getMIN_LOAN_AMOUNT() {
		return MIN_LOAN_AMOUNT;
	}


	public void setMIN_LOAN_AMOUNT(String mIN_LOAN_AMOUNT) {
		MIN_LOAN_AMOUNT = mIN_LOAN_AMOUNT;
	}


	public String getMAX_LOAN_AMOUNT() {
		return MAX_LOAN_AMOUNT;
	}


	public void setMAX_LOAN_AMOUNT(String mAX_LOAN_AMOUNT) {
		MAX_LOAN_AMOUNT = mAX_LOAN_AMOUNT;
	}


	public String getREPAY_METHOD() {
		return REPAY_METHOD;
	}


	public void setREPAY_METHOD(String rEPAY_METHOD) {
		REPAY_METHOD = rEPAY_METHOD;
	}


	public String getINVEST_SERVICE_FEE() {
		return INVEST_SERVICE_FEE;
	}


	public void setINVEST_SERVICE_FEE(String iNVEST_SERVICE_FEE) {
		INVEST_SERVICE_FEE = iNVEST_SERVICE_FEE;
	}


	public String getINVEST_SERVICE_DAYS() {
		return INVEST_SERVICE_DAYS;
	}


	public void setINVEST_SERVICE_DAYS(String iNVEST_SERVICE_DAYS) {
		INVEST_SERVICE_DAYS = iNVEST_SERVICE_DAYS;
	}


	public String getGATHER_FEE_POINT() {
		return GATHER_FEE_POINT;
	}


	public void setGATHER_FEE_POINT(String gATHER_FEE_POINT) {
		GATHER_FEE_POINT = gATHER_FEE_POINT;
	}


	public String getEARLY_PAY_RATE() {
		return EARLY_PAY_RATE;
	}


	public void setEARLY_PAY_RATE(String eARLY_PAY_RATE) {
		EARLY_PAY_RATE = eARLY_PAY_RATE;
	}


	public String getLOAN_TERM() {
		return LOAN_TERM;
	}


	public void setLOAN_TERM(String lOAN_TERM) {
		LOAN_TERM = lOAN_TERM;
	}


	public String getTIME_TYPE() {
		return TIME_TYPE;
	}


	public void setTIME_TYPE(String tIME_TYPE) {
		TIME_TYPE = tIME_TYPE;
	}


	public String getOVERDUE_RATE_TYPE() {
		return OVERDUE_RATE_TYPE;
	}


	public void setOVERDUE_RATE_TYPE(String oVERDUE_RATE_TYPE) {
		OVERDUE_RATE_TYPE = oVERDUE_RATE_TYPE;
	}


	public String getOVERDUE_RATE() {
		return OVERDUE_RATE;
	}


	public void setOVERDUE_RATE(String oVERDUE_RATE) {
		OVERDUE_RATE = oVERDUE_RATE;
	}


	public String getACCOUNT_PAYMENT_FEE() {
		return ACCOUNT_PAYMENT_FEE;
	}


	public void setACCOUNT_PAYMENT_FEE(String aCCOUNT_PAYMENT_FEE) {
		ACCOUNT_PAYMENT_FEE = aCCOUNT_PAYMENT_FEE;
	}


	public String getREPAY_TYPE() {
		return REPAY_TYPE;
	}


	public void setREPAY_TYPE(String rEPAY_TYPE) {
		REPAY_TYPE = rEPAY_TYPE;
	}


	public String getGUARANTEE_NAME() {
		return GUARANTEE_NAME;
	}


	public void setGUARANTEE_NAME(String gUARANTEE_NAME) {
		GUARANTEE_NAME = gUARANTEE_NAME;
	}


	public String getGUARANTEE_RATE() {
		return GUARANTEE_RATE;
	}


	public void setGUARANTEE_RATE(String gUARANTEE_RATE) {
		GUARANTEE_RATE = gUARANTEE_RATE;
	}


	public String getGUARANTEE_METHOD() {
		return GUARANTEE_METHOD;
	}


	public void setGUARANTEE_METHOD(String gUARANTEE_METHOD) {
		GUARANTEE_METHOD = gUARANTEE_METHOD;
	}


	public String getREPURCHASE_TYPE() {
		return REPURCHASE_TYPE;
	}


	public void setREPURCHASE_TYPE(String rEPURCHASE_TYPE) {
		REPURCHASE_TYPE = rEPURCHASE_TYPE;
	}


	public String getREPURCHASE_DAYS() {
		return REPURCHASE_DAYS;
	}


	public void setREPURCHASE_DAYS(String rEPURCHASE_DAYS) {
		REPURCHASE_DAYS = rEPURCHASE_DAYS;
	}


	public String[] getProtId() {
		return protId;
	}


	public void setProtId(String[] protId) {
		this.protId = protId;
	}


	public String getPRJ_TEMP_TYPE() {
		return PRJ_TEMP_TYPE;
	}


	public void setPRJ_TEMP_TYPE(String pRJ_TEMP_TYPE) {
		PRJ_TEMP_TYPE = pRJ_TEMP_TYPE;
	}


	public String getSETYPE_PRJ_TEMP_TYPE() {
		return SETYPE_PRJ_TEMP_TYPE;
	}


	public void setSETYPE_PRJ_TEMP_TYPE(String sETYPE_PRJ_TEMP_TYPE) {
		SETYPE_PRJ_TEMP_TYPE = sETYPE_PRJ_TEMP_TYPE;
	}


	public String getSETYPE_INTEREST_RATE() {
		return SETYPE_INTEREST_RATE;
	}


	public void setSETYPE_INTEREST_RATE(String sETYPE_INTEREST_RATE) {
		SETYPE_INTEREST_RATE = sETYPE_INTEREST_RATE;
	}


	public String getSETYPE_ALLOW_EARLY_REPAY() {
		return SETYPE_ALLOW_EARLY_REPAY;
	}


	public void setSETYPE_ALLOW_EARLY_REPAY(String sETYPE_ALLOW_EARLY_REPAY) {
		SETYPE_ALLOW_EARLY_REPAY = sETYPE_ALLOW_EARLY_REPAY;
	}


	public String getSETYPE_MIN_LOAN_AMOUNT() {
		return SETYPE_MIN_LOAN_AMOUNT;
	}


	public void setSETYPE_MIN_LOAN_AMOUNT(String sETYPE_MIN_LOAN_AMOUNT) {
		SETYPE_MIN_LOAN_AMOUNT = sETYPE_MIN_LOAN_AMOUNT;
	}


	public String getSETYPE_MAX_LOAN_AMOUNT() {
		return SETYPE_MAX_LOAN_AMOUNT;
	}


	public void setSETYPE_MAX_LOAN_AMOUNT(String sETYPE_MAX_LOAN_AMOUNT) {
		SETYPE_MAX_LOAN_AMOUNT = sETYPE_MAX_LOAN_AMOUNT;
	}


	public String getSETYPE_REPAY_METHOD() {
		return SETYPE_REPAY_METHOD;
	}


	public void setSETYPE_REPAY_METHOD(String sETYPE_REPAY_METHOD) {
		SETYPE_REPAY_METHOD = sETYPE_REPAY_METHOD;
	}


	public String getSETYPE_INVEST_SERVICE_FEE() {
		return SETYPE_INVEST_SERVICE_FEE;
	}


	public void setSETYPE_INVEST_SERVICE_FEE(String sETYPE_INVEST_SERVICE_FEE) {
		SETYPE_INVEST_SERVICE_FEE = sETYPE_INVEST_SERVICE_FEE;
	}


	public String getSETYPE_GATHER_FEE_POINT() {
		return SETYPE_GATHER_FEE_POINT;
	}


	public void setSETYPE_GATHER_FEE_POINT(String sETYPE_GATHER_FEE_POINT) {
		SETYPE_GATHER_FEE_POINT = sETYPE_GATHER_FEE_POINT;
	}


	public String getSETYPE_EARLY_PAY_RATE() {
		return SETYPE_EARLY_PAY_RATE;
	}


	public void setSETYPE_EARLY_PAY_RATE(String sETYPE_EARLY_PAY_RATE) {
		SETYPE_EARLY_PAY_RATE = sETYPE_EARLY_PAY_RATE;
	}


	public String getSETYPE_LOAN_TERM() {
		return SETYPE_LOAN_TERM;
	}


	public void setSETYPE_LOAN_TERM(String sETYPE_LOAN_TERM) {
		SETYPE_LOAN_TERM = sETYPE_LOAN_TERM;
	}


	public String getSETYPE_TIME_TYPE() {
		return SETYPE_TIME_TYPE;
	}


	public void setSETYPE_TIME_TYPE(String sETYPE_TIME_TYPE) {
		SETYPE_TIME_TYPE = sETYPE_TIME_TYPE;
	}


	public String getSETYPE_OVERDUE_RATE() {
		return SETYPE_OVERDUE_RATE;
	}


	public void setSETYPE_OVERDUE_RATE(String sETYPE_OVERDUE_RATE) {
		SETYPE_OVERDUE_RATE = sETYPE_OVERDUE_RATE;
	}


	public String getSETYPE_ACCOUNT_PAYMENT_FEE() {
		return SETYPE_ACCOUNT_PAYMENT_FEE;
	}


	public void setSETYPE_ACCOUNT_PAYMENT_FEE(String sETYPE_ACCOUNT_PAYMENT_FEE) {
		SETYPE_ACCOUNT_PAYMENT_FEE = sETYPE_ACCOUNT_PAYMENT_FEE;
	}


	public String getSETYPE_REPAY_TYPE() {
		return SETYPE_REPAY_TYPE;
	}


	public void setSETYPE_REPAY_TYPE(String sETYPE_REPAY_TYPE) {
		SETYPE_REPAY_TYPE = sETYPE_REPAY_TYPE;
	}


	public String getSETYPE_GUARANTEE_NAME() {
		return SETYPE_GUARANTEE_NAME;
	}


	public void setSETYPE_GUARANTEE_NAME(String sETYPE_GUARANTEE_NAME) {
		SETYPE_GUARANTEE_NAME = sETYPE_GUARANTEE_NAME;
	}


	public String getSETYPE_GUARANTEE_RATE() {
		return SETYPE_GUARANTEE_RATE;
	}


	public void setSETYPE_GUARANTEE_RATE(String sETYPE_GUARANTEE_RATE) {
		SETYPE_GUARANTEE_RATE = sETYPE_GUARANTEE_RATE;
	}


	public String getSETYPE_GUARANTEE_METHOD() {
		return SETYPE_GUARANTEE_METHOD;
	}


	public void setSETYPE_GUARANTEE_METHOD(String sETYPE_GUARANTEE_METHOD) {
		SETYPE_GUARANTEE_METHOD = sETYPE_GUARANTEE_METHOD;
	}


	public String getSETYPE_REPURCHASE() {
		return SETYPE_REPURCHASE;
	}


	public void setSETYPE_REPURCHASE(String sETYPE_REPURCHASE) {
		SETYPE_REPURCHASE = sETYPE_REPURCHASE;
	}

}
